package com.prolestar.strategy.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.prolestar.common.annotation.Excel;
import com.prolestar.common.core.domain.BaseEntity;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 应对策略对象 ps_publicsentiment_strategy
 * 
 * @author xuyp
 * @date 2022-11-12
 */
public class PsPublicsentimentStrategy
{
    private static final long serialVersionUID = 1L;

    /** 应对策略id */
    @Excel(name = "应对策略id")
    private Long id;

    /** 策略名称 */
    @Excel(name = "策略名称")
    private String strategyName;

    /** 涉及问题 */
    @Excel(name = "涉及问题")
    private Long issuesInvolved;

    /** 策略描述 */
    @Excel(name = "策略描述")
    private String strategyDesc;

    /** 策略状态；1=启用；2=停用；3=删除 */
    @Excel(name = "策略状态；1=启用；2=停用；3=删除")
    private Long status;

    /** 创建者 */
    private Long createBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /** 更新者 */
    private String updateBy;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    public Long getCreateBy() {
        return createBy;
    }

    public void setCreateBy(Long createBy) {
        this.createBy = createBy;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }



    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setStrategyName(String strategyName) 
    {
        this.strategyName = strategyName;
    }

    public String getStrategyName() 
    {
        return strategyName;
    }
    public void setIssuesInvolved(Long issuesInvolved) 
    {
        this.issuesInvolved = issuesInvolved;
    }

    public Long getIssuesInvolved() 
    {
        return issuesInvolved;
    }
    public void setStrategyDesc(String strategyDesc) 
    {
        this.strategyDesc = strategyDesc;
    }

    public String getStrategyDesc() 
    {
        return strategyDesc;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("strategyName", getStrategyName())
            .append("issuesInvolved", getIssuesInvolved())
            .append("strategyDesc", getStrategyDesc())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
